﻿using System;

namespace DepSoft.Mobile.WP7.FollwIt.Messages
{
    public class SelectedFriendChangedMessage : BaseMessage
    {
        #region Public properties
        public string UserName { get; set; }
        #endregion

        #region Constructor
        /// <summary>
        /// Initializes a new instance of the <see cref="SelectedFriendChangedMessage"/> class.
        /// </summary>
        /// <param name="userName">
        /// The host.
        /// </param>
        public SelectedFriendChangedMessage(string userName)
        {
            this.UserName = userName;
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="SelectedFriendChangedMessage"/> class.
        /// </summary>
        /// <param name="exception">
        /// The exception.
        /// </param>
        public SelectedFriendChangedMessage(Exception exception)
        {
            this.Exception = exception;
        }
        #endregion
    }
}
